/*
 * @Author: Clark
 * @Email: haixuanwoTxh@gmail.com
 * @Date: 2023-01-04 16:14:23
 * @LastEditors: Clark
 * @LastEditTime: 2023-01-04 16:14:29
 * @Description: file content
 */

#include "apue.h"

int main()
{
    if (chdir("/tmp") < 0)
    {
        err_sys("chdir failed");
    }

    printf("chdir to /tmp succeeded\n");
    exit(0);
}
